﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using DacSanMienTayOBJ;

public partial class Proccess_ProccessGetDescriptionProduct : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        GetDetailDescriptionProduct();
    }
    public void GetDetailDescriptionProduct()
    {
        try
        {
            int productID = int.Parse(Request["productID"]);
            StringBuilder builder = new StringBuilder();
            Product product = ProductBusiness.GetProductDetail(productID, ConnectionType.AdminConnection);
            string description = HttpUtility.HtmlDecode(product.ContentProduct);

            Response.Write(description);
            Response.End();

        }
        catch
        {

        }
    }
}